package homework5;

import java.util.Arrays;

public class Chapter07 {
    public static void main(String[] args) {
        int a[]={1,2,3,4,5,6};
        int b[]={1,2,3,4,5,6};
        if (Arrays.equals(a,b)){
            System.out.println("数组相同");
        }else {
            System.out.println("数组不相同");
        }
    }
}
